import request from '@/utils/request'

export function login(data) {
	return request({
		url: `/web/anon/user/wxLogin`,
		method: 'POST',
		data
	})
}
export function register(data) {
	return request({
		url: `/web/anon/user/wxRegisterLogin`,
		method: 'POST',
		data
	})
}
export function getMsgCode(data) {
	return request({
		url: `/anon/user/sendPhoneSms`,
		method: 'POST',
		data
	})
}
